#pragma once
#include<stdio.h>
#include<time.h>
#include<stdlib.h>

#define ROW 9
#define COL 9
#define ROWS 11
#define COLS 11

void init_arr(char arr[ROWS][COLS], int row, int col, char set);

void print_arr(char arr2[ROWS][COLS], int, int);

void set_mine(char arr1[ROWS][COLS], int, int, char, int);

void search_mine(char arr1[ROWS][COLS],char arr2[ROWS][COLS], int, int);

int add_mine(char arr[ROWS][COLS], int, int);